import request from '@/utils/request'

// 审核约车
export function acceptCat(data) {
  return request({
    url: '/serve/cat/accept',
    method: 'post',
    data: data
  })
}
// 审核家政
export function acceptEconomics(data) {
  return request({
    url: '/serve/economics/accept',
    method: 'post',
    data: data
  })
}
// 审核报修
export function acceptGuarantee(data) {
  return request({
    url: '/serve/guarantee/accept',
    method: 'post',
    data: data
  })
}
// 审核待办

export function acceptHandle(data) {
  return request({
    url: '/serve/handle/accept',
    method: 'post',
    data: data
  })
}
//报修办结
export function guaranteeFinish(data) {
  return request({
    url: '/serve/guarantee/finish',
    method: 'post',
    data: data
  })
}
export function catFinish(data) {
  return request({
    url: '/serve/cat/finish',
    method: 'post',
    data: data
  })
}
export function economicsFinish(data) {
  return request({
    url: '/serve/economics/finish',
    method: 'post',
    data: data
  })
}
export function handleFinish(data) {
  return request({
    url: '/serve/handle/finish',
    method: 'post',
    data: data
  })
}
//
